package ar.com.photo_admin.domain;

import java.io.Serializable;

/**
 * Base class for all the entities. Contains the id on the data base and the status of the server response. 
 * 
 * @author nmouso
 */
public abstract class BaseEntity implements Serializable {

	private static final long serialVersionUID = 8036782848705872726L;

	public static final int STATUS_OK = 0;
	public static final int STATUS_ERROR = 1;

	private Long id;
	
	private Integer status;
			
	private String description;
			
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
}
